<?php
@session_start();
$loggedInUser = $_SESSION['userId'];
require_once '../class/forum.class.php';
require_once '../class/post.class.php';
$threadCategory = new Forum();
?>

<span class="type-heading" id="first-heading">Forum</span>
<span class="inside-level-1">> Add New</span>
<span id="add-new-topic">Add New Topic</span>
<form id="new-post-box" action="post_thread.php" method="post">
	<span class="title-post-topic">Title</span>
	<input type="text" class="txt-post-topic" name="it_text_title" />
	<span class="title-post-topic">Post</span>
	<textarea id="textarea-post-topic" name="it_text_post"></textarea>
	<span class="title-post-topic">Enter Tags (comma Separated)</span>
	<input type="text" class="txt-post-topic" name="it_text_tags" />
	<span class="title-post-topic">Category</span>
	<select id="drop-box" name="it_select_option">
		<option>Category 1</option>
		<option>Category 2</option>
		<option>Category 3</option>
		<option>Category 4</option>
		<option>Category 5</option>
	</select>
	<input type="submit" id="submit-post" value="Submit" name="it_submit_post" />
</form>
</div>
</body>
</html> 